package org.dromara.data.dnnyun.service;
/**
 * @author: wangdm
 * @date 2024/02/19 23:35
 * @Description:
 */


import org.dromara.curd.dnnyun.domain.bo.DnnyunStoreAchievementBo;
import org.dromara.third.dnnyun.domain.DyRegion;
import org.dromara.third.dnnyun.domain.bo.DyConsumeOrderBo;

import java.util.List;

/**
 * Author: wangdm
 * Date 2024/02/19 23:35
 * Description:
 */
public interface IDnnyunDataService {

    /**
     * 同步东云的省
     */
    public void syncProvince();

    /**
     * 同步东云的市
     * @param provinceId 省份ID
     */
    public void syncCity(Long provinceId);

    /**
     * 同步东云的区
     * @param cityId 市ID
     * @param conuntyList 区县列表
     */
    public void syncCounty(Long cityId,List<DyRegion> conuntyList);

    /**
     * 同步东云的街道
     * @param countyId 区县ID
     * @param streetList
     */
    public void syncStreet(Long countyId,List<DyRegion> streetList);

    /**
     * 同步东云门店
     */
    public void syncStore();

    /**
     * 同步东云消费订单
     */
    public void syncConsumeOrder(DyConsumeOrderBo dyConsumeOrderBo);

    /**
     * 同步东云店面业绩列表
     */
    public void syncStoreAchievementList(DnnyunStoreAchievementBo bo);

}
